import java.awt.MenuItem;

public class OdbcMenuItem extends MenuItem {
	
	private boolean currentStatus;
	
	public OdbcMenuItem (String odbc) {
		currentStatus = connectionChecker.getConnection(odbc);
		if (currentStatus) { 
			this.setLabel(odbc + " -- OK");
		} else { 
			this.setLabel(odbc + " -- Failed");
		}
	}
	
	private void refreshStatus (String odbc) { 
		boolean newStatus = connectionChecker.getConnection(odbc);
		
	}
}

